import { BlockType } from "../Constants";
import IPoint from "../interface/IPoint"
import Line from "./Line";

class MyLine extends Line {
    points: IPoint[]  // 坐标点集合

    constructor(points: IPoint[] = []) {
        super(points);
        this.points = points
        this.class = BlockType.LINE;
    }

}

export default MyLine;